package com.reggie.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.reggie.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface EmployeeDao extends BaseMapper<Employee> {

    @Select("select * from employee where username=#{username};")
    Employee SelectByUsername(@Param("username") String username);
}
